package com.ruoyi.shop.mapper;

import java.util.List;
import com.ruoyi.shop.domain.Address;

/**
 * addressMapper接口
 * 
 * @author ruoyi
 * @date 2025-06-08
 */
public interface AddressMapper 
{
    /**
     * 查询address
     * 
     * @param addressid address主键
     * @return address
     */
    public Address selectAddressByAddressid(Long addressid);

    /**
     * 查询address列表
     * 
     * @param address address
     * @return address集合
     */
    public List<Address> selectAddressList(Address address);

    /**
     * 新增address
     * 
     * @param address address
     * @return 结果
     */
    public int insertAddress(Address address);

    /**
     * 修改address
     * 
     * @param address address
     * @return 结果
     */
    public int updateAddress(Address address);

    /**
     * 删除address
     * 
     * @param addressid address主键
     * @return 结果
     */
    public int deleteAddressByAddressid(Long addressid);

    /**
     * 批量删除address
     * 
     * @param addressids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteAddressByAddressids(Long[] addressids);
}
